using System;
using System.ServiceModel.Configuration;

namespace RockBus.Hosting
{
    public class DynamicServiceEndpointBehaviorExtensionElement : BehaviorExtensionElement
    {
        public DynamicServiceEndpointBehaviorExtensionElement()
            : base()
        {
        }

        public override Type BehaviorType { get { return typeof(DynamicServiceEndpointBehavior); } }

        protected override object CreateBehavior()
        {
            return new DynamicServiceEndpointBehavior();
        }
    }
}